<template>
  <div id="sub-app1">
    <nav>
      <router-link to="/reward/list">奖励列表</router-link> |
      <router-link to="/reward/package">奖励包</router-link>
    </nav>
    <keep-alive :include="cachedViews">
      <router-view :key="$route.name"></router-view>
    </keep-alive>
  </div>
</template>
<script>
export default {
  data() {
    return {
      cachedViews: ["rewardList"],
    };
  },
};
</script>
